Skip to main content
POST
cURL

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

The customer unique identifier in your system

Body

application/json
campaign_id
string<uuid>
required

The UUID of the referral campaign

brand_id
string | null

The id of the brand. Required if the campaign is brand-specific

Response

Referral code created or retrieved successfully

data
object